package com.vdong.trade.order.repository;

import com.vdong.trade.order.entity.dto.param.DistributionOrdersParamDTO;
import com.vdong.trade.order.entity.mo.SellHotMO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SellHotMORepository {
    int deleteByPrimaryKey(Long id);

    int insert(SellHotMO record);

    SellHotMO selectByPrimaryKey(Long id);

    List<SellHotMO> selectAll();

    int updateByPrimaryKey(SellHotMO record);

    List<SellHotMO> selectByParam(DistributionOrdersParamDTO record);
}